﻿namespace WordCloudClient.Models.Entities
{
    /// <summary>
    /// 过滤词库表
    /// </summary>
    [SugarTable("TB_FillterWords")]
    public class FilterWordsEntity : BaseEntity
    {
        /// <summary>
        /// 过滤的单词
        /// </summary>
        [Required(ErrorMessage = "单词不能为空")]
        public string Word { get; set; } = string.Empty;

        /// <summary>
        /// 是否启用
        /// </summary>
        [Required(ErrorMessage = "字典值不能为空")]
        public int IsEnable { get; set; } = 1;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
}
